From: Joan Torres Date: Tue, 9 May 2023 16:36:40 +0000 (+0200) Subject: polkitAgent: Fix closing dialog properly X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~2^2~88 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c57f4a1c73413fcf3f84de448b46f66e9cb186a7;p=gnome-shell.git polkitAgent: Fix closing dialog properly When pressing the close button on the dialog the polkit request isn't completed leaving the polkit agent blocked unable to handle new requests. Part-of: --- diff --git a/js/ui/components/polkitAgent.js b/js/ui/components/polkitAgent.js index 74b89090c..1da02e5b4 100644 --- a/js/ui/components/polkitAgent.js +++ b/js/ui/components/polkitAgent.js @@ -391,7 +391,6 @@ var AuthenticationDialog = GObject.registerClass({ } cancel() { - this.close(global.get_current_time()); this._emitDone(true); }